﻿<Window x:Class="PowerDemo.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
        <TextBox Height="34" HorizontalAlignment="Left" Margin="12,100,0,0" Name="textBox1" VerticalAlignment="Top" Width="86" />
        <TextBox Height="34" HorizontalAlignment="Left" Margin="104,100,0,0" Name="textBox2" VerticalAlignment="Top" Width="90" />
        <TextBox Height="34" HorizontalAlignment="Left" Margin="200,100,0,0" Name="textBox3" VerticalAlignment="Top" Width="88" />
        <TextBox Height="34" HorizontalAlignment="Left" Margin="294,100,0,0" Name="textBox4" VerticalAlignment="Top" Width="79" />
        <TextBox Height="34" HorizontalAlignment="Left" Margin="379,100,0,0" Name="textBox5" VerticalAlignment="Top" Width="89" />
        <Label Content="设备名" Height="38" HorizontalAlignment="Left" Margin="12,46,0,0" Name="label1" VerticalAlignment="Top" Width="80" />
        <Label Content="温度1" Height="38" HorizontalAlignment="Left" Margin="104,46,0,0" Name="label2" VerticalAlignment="Top" Width="80" />
        <Label Content="温度2" Height="38" HorizontalAlignment="Left" Margin="208,46,0,0" Name="label3" VerticalAlignment="Top" Width="80" />
        <Label Content="纬度" Height="38" HorizontalAlignment="Left" Margin="293,46,0,0" Name="label4" VerticalAlignment="Top" Width="80" />
        <Label Content="经度" Height="38" HorizontalAlignment="Left" Margin="379,46,0,0" Name="label5" VerticalAlignment="Top" Width="80" />
        <Button Content="发送" Height="43" HorizontalAlignment="Left" Margin="358,186,0,0" Name="button1" VerticalAlignment="Top" Width="99" Click="button1_Click" />
    </Grid>
</Window>